<template>
  <div class="app">
    <!-- <h2 a="1+1" :b="1+1" c="x" :d="x" ref="qwe">测试</h2> -->

    <Preson a="哈哈" :list="personList"/>
  </div>
</template>

<script lang="ts" setup name="App">
  import Preson from './components/Preson.vue'
  import {reactive} from 'vue'
  import {type Persons} from '@/types'

  let x = 9

  let personList = reactive<Persons>([
    {id:'asudfysafd01',name:'张三',age:18},
    {id:'asudfysafd02',name:'李四',age:19},
    {id:'asudfysafd03',name:'王五',age:20}
  ])

  console.log(personList)
</script>

<style scoped>
</style>